<% content_for :navlinks do %>
<%= link_to :back.l, profile_url %>
<% end %>

<% content_for :title do %><%= :edit_profile.l %><% end %>

<% form_for :user, @user, :url => profile_url, :html => {:method => :put} do |f| %>
<%= render :partial => "profile_form", :locals => {:f=>f}%>
<% end %>